{include file="header.tpl" title=$blog.blog_title nav_title="查看日志"}
<div id="container">
		<div class="page_block">
			<div class="page_block_title">
				<h2>{$blog.blog_title}</h2>
			</div>
			<div class="page_block_body">
				<div class="inner_text">
					{$blog.blog_text}
				</div>
				<div class="clear"></div>
			</div>
			<div class="page_block_body">
				<div class="inner_text">
					{$blog.blog_time}
				</div>
			</div>
			<div class="page_block_body">
				<form action="?Blog-doAddBC" method="post">
					<input type="hidden" name="bc_blog_id" value="{$smarty.get.bid}" />
					<input type="hidden" name="bc_author_id" value="{$smarty.session.uid}" />
						<textarea name="bc_text"></textarea><br/>
						<input type="submit" class="button" value="发表评论" />
					</table>
				</form>
			</div>
			{section name=item loop=$comments}
			<div class="page_block_body">
				<div class="inner_text">{$comments[item].bc_text}</div>
			</div>
			{sectionelse}
			<div class="page_block_body">
				<div class="inner_text">还没有人对本日志发表评论。</div>
			</div>
			{/section}
		</div>
</div>
{include file="footer.tpl"}
